package com.hww.gannan.service;

import com.hww.gannan.entity.FriendlyLink;
import com.hww.gannan.util.Result;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface AdminService {
    Result getMessageList(Integer pageNum, Integer pageSize);

    Result getSysLoginList(Integer pageNum, Integer pageSize);

    Result getUrlList(Integer pageNum, Integer pageSize);

    Result addFriendlyLink(FriendlyLink friendlyLink);

    Result delFriendlyLink(Integer id);

    void export(HttpServletResponse response) throws IOException;
}
